using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;

public class PropClass : MonoBehaviour
{
    public string propTag;

    public UnityEvent<GameObject> propTriggerEvent;

    public void OnPropTriggerEvent(GameObject prop){
        propTriggerEvent?.Invoke(prop);
        prop.SetActive(false);
    }
}
